package edu.xpu.compute.recommend.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import edu.xpu.compute.recommend.entity.SysBook;

@Repository
public interface SysBookRepository extends JpaRepository<SysBook, Long>
		, JpaSpecificationExecutor<SysBook>{

	public SysBook findTop1ByOrderByIdDesc();
}
